package com.cheng.example.view.chap01;

public class Client06 {

    private static int x = 100;

    public static void main(String[] args) {
        Client06 c1 = new Client06();
        c1.x++;

        Client06 c2 = new Client06();
        c2.x++;

        c1 = new Client06();
        c1.x++;

        Client06.x--;
        System.out.println("x="+x);
    }
}
